// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_FA_MANUFACTURER
// * CreateDate    : 2012/3/12 17:00:34
// * Creater       : CodeSmith
// * LastChangeDate: 2012/3/12 17:00:34
// * LastChanger   : 2012/3/12 17:00:34
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class FaManufacturerTable : TableInfo
    {
		public const string C_TableName = "FA_MANUFACTURER";
		
		public const string C_ASSET_ID = "ASSET_ID";
		public const string C_LAST_MAINTAIN_ITEM = "LAST_MAINTAIN_ITEM";
		public const string C_LAST_MAINTAIN_DATE = "LAST_MAINTAIN_DATE";
		public const string C_LAST_MAINTAIN_COMPANY = "LAST_MAINTAIN_COMPANY";
		public const string C_LAST_MAINTAIN_PERSON = "LAST_MAINTAIN_PERSON";
		public const string C_NEXT_MAINTAIN_DATE = "NEXT_MAINTAIN_DATE";
		public const string C_LAST_MAINTAIN_FEE = "LAST_MAINTAIN_FEE";
        public const string C_REMARK = "REMARK";
        public const string C_NEXT_MAINTAIN_ITEM = "NEXT_MAINTAIN_ITEM ";
		
		public FaManufacturerTable()
        {
            _tableName = "FA_MANUFACTURER";
        }
		
		protected static FaManufacturerTable _current;
        public static FaManufacturerTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new FaManufacturerTable();

            _current.Add(C_ASSET_ID, new ColumnInfo(C_ASSET_ID,"AssetId", true, typeof(string)));
            _current.Add(C_LAST_MAINTAIN_ITEM, new ColumnInfo(C_LAST_MAINTAIN_ITEM,"LastMaintainItem", false, typeof(string)));
            _current.Add(C_LAST_MAINTAIN_DATE, new ColumnInfo(C_LAST_MAINTAIN_DATE,"LastMaintainDate", false, typeof(DateTime)));
            _current.Add(C_LAST_MAINTAIN_COMPANY, new ColumnInfo(C_LAST_MAINTAIN_COMPANY,"LastMaintainCompany", false, typeof(string)));
            _current.Add(C_LAST_MAINTAIN_PERSON, new ColumnInfo(C_LAST_MAINTAIN_PERSON,"LastMaintainPerson", false, typeof(string)));
            _current.Add(C_NEXT_MAINTAIN_DATE, new ColumnInfo(C_NEXT_MAINTAIN_DATE,"NextMaintainDate", false, typeof(DateTime)));
            _current.Add(C_LAST_MAINTAIN_FEE, new ColumnInfo(C_LAST_MAINTAIN_FEE,"LastMaintainFee", false, typeof(decimal)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK, "Remark", false, typeof(string)));
            _current.Add(C_NEXT_MAINTAIN_ITEM, new ColumnInfo(C_NEXT_MAINTAIN_ITEM, "NextMaintainItem ", false, typeof(string)));
			
		}
		
		public ColumnInfo ASSET_ID
        {
            get { return this[C_ASSET_ID]; }
        }
		
		public ColumnInfo LAST_MAINTAIN_ITEM
        {
            get { return this[C_LAST_MAINTAIN_ITEM]; }
        }
		
		public ColumnInfo LAST_MAINTAIN_DATE
        {
            get { return this[C_LAST_MAINTAIN_DATE]; }
        }
		
		public ColumnInfo LAST_MAINTAIN_COMPANY
        {
            get { return this[C_LAST_MAINTAIN_COMPANY]; }
        }
		
		public ColumnInfo LAST_MAINTAIN_PERSON
        {
            get { return this[C_LAST_MAINTAIN_PERSON]; }
        }
		
		public ColumnInfo NEXT_MAINTAIN_DATE
        {
            get { return this[C_NEXT_MAINTAIN_DATE]; }
        }
		
		public ColumnInfo LAST_MAINTAIN_FEE
        {
            get { return this[C_LAST_MAINTAIN_FEE]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }

        public ColumnInfo NEXT_MAINTAIN_ITEM 
        {
            get { return this[C_NEXT_MAINTAIN_ITEM]; }
        }
		
	}
}

